package com.cn.ant.modules.school.dao;

import com.cn.ant.common.persistence.CrudDao;
import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.school.entity.SchoolMajor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 学校专业表DAO接口
 * @author AntDream
 * @version 2015-08-26
 */
@MyBatisRepository
public interface SchoolMajorDao extends CrudDao<SchoolMajor> {

    public void deleteBySchool(@Param("schoolCode") String schoolCode);

    public int batchInsert(List<SchoolMajor> list);

}